﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.BaseData.Manage.Domain.Entities
{
    public class ProductModel
    {
        [Key]
        /// <summary>
        /// 产品主键，使用 int 类型
        /// Product ID, using int type
        /// </summary>
        public int ProductId { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string ProductNum { get; set; }

        /// <summary>
        /// 产品名称
        /// Product name
        /// </summary>
        public string ProductName { get; set; }

        /// <summary>
        /// 厂家编码
        /// Manufacturer code
        /// </summary>
        public string ManufacturerCode { get; set; }

        /// <summary>
        /// 内部编码
        /// Internal code
        /// </summary>
        public string InternalCode { get; set; }

        /// <summary>
        /// 产品单位
        /// Product unit
        /// </summary>
        public string UnitId { get; set; }

        /// <summary>
        /// 产品类别
        /// Product category
        /// </summary>
        public string Category { get; set; }

        /// <summary>
        /// 产品上限值
        /// Product upper limit value
        /// </summary>
        public double UpperLimit { get; set; }

        /// <summary>
        /// 产品下限值
        /// Product lower limit value
        /// </summary>
        public double LowerLimit { get; set; }

        /// <summary>
        /// 产品规格
        /// Product specification
        /// </summary>
        public string Specification { get; set; }

        /// <summary>
        /// 产品价格
        /// Product price
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 产品默认仓库
        /// Product default warehouse
        /// </summary>
        public int WHouseId { get; set; }
        /// <summary>
        /// 默认库位
        /// </summary>
        public int WHouseTypeId { get; set; }
        /// <summary>
        /// 供应商
        /// </summary>
        public string Supplie { get; set; }
        /// <summary>
        /// 客户
        /// </summary>
        public string Customer { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        public string Guige { get; set; }


        /// <summary>
        /// 产品描述（原信息中此处为默认库位，推测可能是描述）
        /// Product description (originally stated as default storage location, presumably a description)
        /// </summary>
        public string Description { get; set; }
    }
}
